﻿@{
    var username = Session["FullName"] == null ? "" : Session["FullName"];
}
<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container-fluid">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span
                class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
            </a>
            <a class="brand" href="@Url.Action("Index", "Members")">Simply-ToDoList</a>
            <div class="btn-group pull-right">
                <a class="btn" href="@Url.Action("Index", "Task")"><i class="icon-tasks"></i>&nbsp;Tasks</a>
                <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><span class="icon-user"></span>&nbsp;@username<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="@Url.Action("Index", "Members")">Profile</a></li>
                    <li class="divider"></li>
                    <li><a href="@Url.Action("Logout", "Account")">Sign Out</a></li>
                </ul> 
            </div>
            <!--/.nav-collapse -->
        </div>
    </div>
</div>
